wayland: deal with staging buffer getting allocated prematurely
authorRay Strode <rstrode@redhat.com>
Sat, 27 Feb 2016 21:17:38 +0000 (16:17 -0500)
committerRay Strode <rstrode@redhat.com>
Mon, 29 Feb 2016 15:52:00 +0000 (10:52 -0500)
commit316fe1dbbd6e0600e0002cebb4323473b4e2ec64
tree081502dea78c728a2c7cc2d57dfc09c1ab344504
parent6ad67451f44d753942905dda574c65e66d071d8e
wayland: deal with staging buffer getting allocated prematurely

The staging buffer gets allocated any time begin_paint is called
on the window. This can happen even with an empty paint region,
so we should cope with that situation. At the moment we crash
trying to post a runtime warning.

https://bugzilla.gnome.org/show_bug.cgi?id=762755
gdk/wayland/gdkwindow-wayland.c